package com.usfuture.techanly.entity
{

	public class Line
	{
		public function Line()
		{
		}
		
		private var _openPrice:Number;
		private var _timestamp:Date;
		private var _closePrice:Number;
		private var _highPrice:Number;
		private var _lowPrice:Number;
		private var _volume:Number;
		private var _money:Number;
		private var _ycPrice:Number;
		private var _rise:Number;
		private var _risePer:Number;
		private var _peakPer:Number;
		private var _changePer:Number;

	

		public function get openPrice():Number
		{
			return _openPrice;
		}

		public function set openPrice(value:Number):void
		{
			_openPrice = value;
		}

		public function get timestamp():Date
		{
			return _timestamp;
		}

		public function set timestamp(value:Date):void
		{
			_timestamp = value;
		}

		public function get closePrice():Number
		{
			return _closePrice;
		}

		public function set closePrice(value:Number):void
		{
			_closePrice = value;
		}

		public function get highPrice():Number
		{
			return _highPrice;
		}

		public function set highPrice(value:Number):void
		{
			_highPrice = value;
		}

		public function get lowPrice():Number
		{
			return _lowPrice;
		}

		public function set lowPrice(value:Number):void
		{
			_lowPrice = value;
		}

		public function get volume():Number
		{
			return _volume;
		}

		public function set volume(value:Number):void
		{
			_volume = value;
		}

		public function get money():Number
		{
			return _money;
		}

		public function set money(value:Number):void
		{
			_money = value;
		}

		public function get ycPrice():Number
		{
			return _ycPrice;
		}

		public function set ycPrice(value:Number):void
		{
			_ycPrice = value;
		}

		public function get rise():Number
		{
			return closePrice - _ycPrice;
		}

		public function set rise(value:Number):void
		{
			_rise = value;
		}

		public function get risePer():Number
		{
			return _risePer;
		}

		public function set risePer(value:Number):void
		{
			_risePer = value;
		}

		public function get peakPer():Number
		{
			return _peakPer;
		}

		public function set peakPer(value:Number):void
		{
			_peakPer = value;
		}

		public function get changePer():Number
		{
			return _changePer;
		}

		public function set changePer(value:Number):void
		{
			_changePer = value;
		}


	}
}